1 setup

Run this daily to get a snapshot of tag stats and health

2 notes

2.1 PATH TO LATEST DATA

# paths to update when you run
portaldir <- "portal_downloads"
datadirss <- list.files(portaldir)
datadir <- file.path(portaldir, datadirss[length(datadirss)])

2.2 basic helper function

2.3 load paths adjust as needed

2.4 Import data from wildlife portal and the goniometer. Merge the two stacks.

## Warning in sattagutils::load_tag(dpaths[d], streams, stream_delim,
## retain_date_format = retain_date_format): 233108-Series.csv: i can't seem to
## find any data...

3 tag summary

ptt hex serial tag_model deployid catalog_ID_DUML BRS_season deploydate_yyyymmdd deploytime_hhmm species location tagger permit tagtype longitude latitude tagside taglocation taglocationnotes programming_basic_descriptor notes recorder age sex agesex_conf headshot agesex_reason appearance_notes
4 220740 2C2704C NA SPLASH10-333 ZcTag136_DUML NA brs10 20230725 1321 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
5 220736 2C27000 NA SPLASH10-333 ZcTag137_DUML NA brs10 20230725 1449 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a f high y mother calf NA
6 220743 2C27079 NA SPLASH10-333 ZcTag138_DUML NA brs10 20230725 1924 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
1 220745 2C27098 NA SPLASH10-333 ZcTag139_DUML NA brs10 20230726 1638 Zca Hat dlw NA NA NA NA R NA NA NA NA NA u u y NA
2 233112 406B18B NA SPLASH10-333 ZcTag140_DUML NA brs10 20230726 1958 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
3 233115 406B1BE NA SPLASH10-333 ZcTag141_DUML NA brs10 20230726 2027 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
9 233118 406B1E1 NA SPLASH10-333 ZcTag142_DUML NA brs10 20230807 1340 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
8 233110 406B16A NA SPLASH10-F-333 ZcTag143_DUML NA brs10 20230807 1558 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
7 233111 406B179 NA SPLASH10-F-333 ZcTag144_DUML NA brs10 20230807 1620 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
10 233108 406B14C NA SPLASH10-F-333 ZcTag145_DUML NA brs10 20230821 1901 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
11 233107 406B135 NA SPLASH10-F-333 ZcTag146_DUML NA brs10 20230821 1914 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA

4 calculate stats

## Warning in min(x): no non-missing arguments to min; returning Inf
## Warning in max(x): no non-missing arguments to max; returning -Inf

5 summaries

5.1 status and corrupt

deployid ptt nmsg ncrc transmits battvoltrange zerodepthrange last_sta_recieved ncorrupt
2 ZcTag136_DUML 220740 75 75 11272 3.248 to 3.568 -13 to 4 2023-08-22 17:26:55 200
1 ZcTag137_DUML 220736 22 21 9451 3.376 to 3.504 1 to 3 2023-08-21 11:49:36 239
3 ZcTag138_DUML 220743 10 6 871 3.568 to 3.568 2 to 3 2023-08-07 14:30:41 334
4 ZcTag139_DUML 220745 12 12 7471 3.504 to 3.568 -37 to 1 2023-08-22 15:18:42 156
9 ZcTag140_DUML 233112 7 7 1188 3.44 to 3.504 1 to 3 2023-08-02 11:16:31 81
10 ZcTag141_DUML 233115 16 15 1702 3.504 to 3.504 1 to 3 2023-07-30 14:31:55 52
11 ZcTag142_DUML 233118 27 26 4418 3.44 to 3.504 3 to 6 2023-08-22 00:48:23 75
7 ZcTag143_DUML 233110 6 6 4880 3.44 to 3.504 2 to 3 2023-08-22 01:58:27 172
8 ZcTag144_DUML 233111 1 0 0 220
6 ZcTag145_DUML 233108 1 0 0 25
5 ZcTag146_DUML 233107 1 1 NA Inf to -Inf 2 to 2 2023-08-21 23:02:10 9

5.2 locations

deployid ptt nloc nz na nb n0 n1 n2 n3 last_loc_recieved
2 ZcTag136_DUML 220740 476 1 37 105 218 83 25 7 2023-08-22 17:28:23
1 ZcTag137_DUML 220736 342 1 48 123 112 45 11 2 2023-08-22 16:51:32
3 ZcTag138_DUML 220743 213 0 37 114 29 24 6 3 2023-08-12 16:06:58
4 ZcTag139_DUML 220745 205 1 24 142 28 6 2 2 2023-08-22 15:18:24
9 ZcTag140_DUML 233112 71 1 13 31 19 4 3 0 2023-08-02 11:15:31
10 ZcTag141_DUML 233115 63 1 10 20 24 7 1 0 2023-07-30 17:41:17
11 ZcTag142_DUML 233118 196 0 27 37 89 37 6 0 2023-08-22 16:50:28
7 ZcTag143_DUML 233110 175 1 26 70 61 16 1 0 2023-08-22 16:03:18
8 ZcTag144_DUML 233111 157 0 25 92 34 5 1 0 2023-08-22 17:23:25
6 ZcTag145_DUML 233108 17 0 3 4 9 0 1 0 2023-08-22 17:23:05
5 ZcTag146_DUML 233107 17 0 1 6 9 1 0 0 2023-08-22 17:23:56

5.3 behavior

deployid ptt n_beh_msgs totalbeh_time_hours nbehgaps behgap_time_hours latest_beh_recieved
2 ZcTag136_DUML 220740 0 0 0 0
1 ZcTag137_DUML 220736 0 0 0 0
3 ZcTag138_DUML 220743 0 0 0 0
4 ZcTag139_DUML 220745 0 0 0 0
9 ZcTag140_DUML 233112 0 0 0 0
10 ZcTag141_DUML 233115 0 0 0 0
11 ZcTag142_DUML 233118 0 0 0 0
7 ZcTag143_DUML 233110 0 0 0 0
8 ZcTag144_DUML 233111 0 0 0 0
6 ZcTag145_DUML 233108 0 0 0 0
5 ZcTag146_DUML 233107 0 0 0 0

5.4 series

this doesn’t count the messages quite right for some reason, but you get the idea. you can scroll down below and see the plot of messages receieved.

deployid ptt n_ser_msgs totalser_time_hours nsergaps sergap_time_hours nsermsggaps latest_ser_recieved
2 ZcTag136_DUML 220740 129 516 0 0 0 2023-08-16
1 ZcTag137_DUML 220736 115 460 9 56 14 2023-08-16
3 ZcTag138_DUML 220743 37 148 18 120 30 2023-08-05 20:00:00
4 ZcTag139_DUML 220745 49 192 19 328 82 2023-08-17
9 ZcTag140_DUML 233112 19 76 6 40 10 2023-07-31 16:00:00
10 ZcTag141_DUML 233115 16 64 3 28 7 2023-07-30 16:00:00
11 ZcTag142_DUML 233118 78 312 2 8 2 2023-08-20 20:00:00
7 ZcTag143_DUML 233110 47 188 12 128 32 2023-08-20 20:00:00
8 ZcTag144_DUML 233111 26 104 15 196 49 2023-08-20 08:00:00
6 ZcTag145_DUML 233108 1 0 0 NA NA 2023-08-21 16:00:00
5 ZcTag146_DUML 233107 5 20 0 0 0 2023-08-22 12:00:00

5.5 fastloc

deployid ptt fastloc_received fastloc_locnum fastloc_failures fastloc_latest
ZcTag137_DUML 220736 0 0 0 0
ZcTag136_DUML 220740 0 0 0 0
ZcTag138_DUML 220743 0 0 0 0
ZcTag139_DUML 220745 0 0 0 0
ZcTag146_DUML 233107 4 4 4 22-Aug-2023 16:40:44
ZcTag145_DUML 233108 2 1 1 21-Aug-2023 22:17:21
ZcTag143_DUML 233110 48 316 365 20-Aug-2023 21:26:32
ZcTag144_DUML 233111 16 38 139 21-Aug-2023 15:33:55
ZcTag140_DUML 233112 0 0 0 0
ZcTag141_DUML 233115 0 0 0 0
ZcTag142_DUML 233118 0 0 0 0

6 position snapshot

Plot of the last four positions for all the tags which have generated an argos position within the last 3 days

7 plot pressure sensors

PROVISIONAL plot status cutoffs and bat voltage. Cutoffs are in dotted red lines. These are either:

  1. healthy tags: the last status messages as a conservative cutoff and on tags that are still actively transmitting this is likely to increase
  2. unhealthy pressure transducer tags: if there are 2 status messages (crc’d) where the | zerodepth | > 10 then this is the last good status message before the 1st of those two bad messages.

We have settled on a more complicated cutoff system to capture a little more very likely good data. For detail please see DATAPREP_sattag_processing. But this gives you a general idea of approx. cutoffs and pressure transducer health.

8 control cee

8.1 +/- 12 hour look at ship based cee 23_01 on 20220804

gonio hits in purple

9 series message source plots

10 corrupt by cohort

11 zoom in on megadives from 136 while offshore

note the time frames highlighted on the map are approximately the same just had a different number of uplinks and precision at those times.